package com.wondersgroup.yly;

import com.mseap.dtx.client.EnableDtxClient;
import com.mseap.dtx.reliable.EnableDtxReliable;
import com.mseap.dtx.rpc.dubbo.EnableDtxRpcDubbo;
import com.mseap.dtx.tcc.EnableDtxTcc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

@EnableDtxClient
@EnableDtxRpcDubbo
@EnableDtxTcc
@EnableDtxReliable
@SpringBootApplication
@ImportResource(locations = {"classpath:applicationContext.xml", "classpath:provider.xml"})
public class ProviderApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProviderApplication.class, args);
    }

}
